home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / ARRAYS.PAK / MAKEFILE < prev    next >
Text File  |  1997-05-06  |  2KB  |  35 lines

  1. #--------------------------------------------------------------------------#
  2. #                                                                          #
  3. #   MAKEFILE for ARRAY examples                                            #
  4. #                                                                          #
  5. #   Copyright (c) 1994, 1996 Borland International                         #
  6. #   All Rights Reserved                                                    #
  7. #                                                                          #
  8. #   Usage:                                                                 #
  9. #       make MODEL=f                 for 32-bit Windows                    #
  10. #       make MODEL={m|l}             for 16-bit Windows                    #
  11. #       make MODEL={m|l}     -DDOS16 for 16-bit DOS                        #
  12. #                                                                          #
  13. #--------------------------------------------------------------------------#
  14.  
  15. !if $(SYSTEM)==WIN16 || $d(WIN16) || $(SYSTEM)==DOS16 || $d(DOS16) || !$d(SYSTEM)
  16.  MODELS = mlh
  17. !endif
  18. SYSTEMS = DOS16 WIN16 CON32
  19.  
  20. EXE    = array
  21. EXEALL = array.exe iarray.exe sarray.exe isarray.exe
  22.  
  23. EXEMAKE= $(ARRAY) $(IARRAY) $(SARRAY) $(ISARRAY)
  24.  
  25. RULES  = myclass.obj: ..\myclass.cpp
  26.  
  27. ARRAY=$(EXERULE:array.obj=array.obj myclass.obj)
  28. IARRAY=$(ARRAY:array=iarray)
  29.  
  30. SARRAY=$(ARRAY:array=sarray)
  31. ISARRAY=$(ARRAY:array=isarray)
  32.  
  33. !include $(BCEXAMPLEDIR)\bidsmake.gen
  34.  
  35.